/**
 * Created by ren on 21/03/2017.
 */
'use strict'
import Vue from 'vue'
import Vuex from 'vuex'
import home from './modules/home'
import supplier from './modules/supplier'
import order from './modules/order'
import monitor from './modules/monitor'
import finish from './modules/finish'
import taking from './modules/taking'
import balance from './modules/balance'
import coll from './modules/coll'
import fun from './modules/fun'
import settle from './modules/settle'
import fin from './modules/fin'
import log from './modules/log'
import item from './modules/item'
import logger from './modules/logger'
import brand from './modules/brand'
import bank from './modules/bank'
import border from './modules/border'
import mlog from './modules/mlog'
Vue.use(Vuex)

// const debug = process.env.NODE_ENV !== 'production'

export default new Vuex.Store({
  modules: {
    home,
    supplier,
    order,
    monitor,
    finish,
    taking,
    balance,
    coll,
    fun,
    settle,
    fin,
    log,
    item,
    logger,
    brand,
    bank,
    border,
    mlog
  },
  strict: false
})
